import { createApp } from 'vue'
import App from './App.vue'

// npm install vue-cache-optimization -D
import { useDrag, useLazy, useBase64, useResize, useScroll } from 'vue-cache-optimization' // ./utils vue-cache-optimization
// import 'vue-cache-optimization/dist/assets/style.css' // 引入 useScroll 的时候, 需要引入滚动条样式

import utils from 'vue-cache-optimization'
console.log('main.ts utils...', utils)

const app = createApp(App)
// @ts-ignore
app.use(useDrag)
app.use(useLazy)
app.use(useBase64)
app.use(useResize)
app.use(useScroll)

app.mount('#app')
